package com.ljx.qqpro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-10-20 17:05:04
 */
@Data
@TableName("tb_chat_user")
public class ChatUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 聊天ID
	 */
	private Long chatId;
	/**
	 * 用户ID
	 */
	private Long userId;
	/**
	 * 未读消息数
	 */
	private Integer unreadCount;
	/**
	 * 进入群聊时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 状态（1：正常，2：删除）
	 */
	private Integer status;

	private String title;

	private Integer isAdmin;

}
